﻿using Microsoft.EntityFrameworkCore.Migrations;

namespace Magicodes.Admin.Migrations
{
    public partial class sfOrderCreateTime : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<bool>(
                name: "IsNewOrder",
                table: "SFOrders",
                nullable: false,
                defaultValue: false);

            migrationBuilder.AddColumn<int>(
                name: "SFQiaoCreateOrderTime",
                table: "SFOrders",
                nullable: false,
                defaultValue: 0);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "IsNewOrder",
                table: "SFOrders");

            migrationBuilder.DropColumn(
                name: "SFQiaoCreateOrderTime",
                table: "SFOrders");
        }
    }
}
